# favicon.ico
location = /favicon.ico {
	log_not_found off;<!--
	✔ accessLog --><span ng-if="isAccessLog()">
	access_log off;</span>
}

# robots.txt
location = /robots.txt {
	log_not_found off;<!--
	✔ accessLog --><span ng-if="isAccessLog()">
	access_log off;</span>
}<!--

✘ root --><span ng-if="allRoot() && (data.expires_assets || data.expires_media || data.expires_svg || data.expires_fonts)">

<!--

✔ expires assets
--><span ng-if="data.expires_assets && data.expires_assets !== data.expires_media"># assets
location ~* \.(?:{{ extensions.assets }})$ {
	expires {{ data.expires_assets }};<!--
	✔ accessLog --><span ng-if="isAccessLog()">
	access_log off;</span>
}</span><!--

✔ expires assets && ✔ expires media --><span ng-if="data.expires_assets && data.expires_media && data.expires_assets !== data.expires_media">

</span><!--

✔ expires media
--><span ng-if="data.expires_media"># {{ data.expires_assets && data.expires_assets === data.expires_media ? 'assets, ' : '' }}media
location ~* \.(?:{{ data.expires_assets && data.expires_assets === data.expires_media ? extensions.assets + '|' : '' }}{{ extensions.images }}|{{ extensions.audio }}|{{ extensions.video }})$ {
	expires {{ data.expires_media }};<!--
	✔ accessLog --><span ng-if="isAccessLog()">
	access_log off;</span>
}</span><!--

(✔ expires assets || ✔ expires media) && ✔ expires svg--><span ng-if="(data.expires_assets || data.expires_media) && (data.expires_svg || data.expires_fonts)">

</span><!--

✔ expires svg
--><span ng-if="data.expires_svg && data.expires_svg !== data.expires_fonts"># svg
location ~* \.{{ extensions.svg }}$ {
	add_header Access-Control-Allow-Origin "*";
	expires {{ data.expires_svg }};<!--
	✔ accessLog --><span ng-if="isAccessLog()">
	access_log off;</span>
}</span><!--

✔ expires svg && ✔ expires fonts --><span ng-if="data.expires_svg && data.expires_fonts && data.expires_svg !== data.expires_fonts">

</span><!--

✔ expires fonts
--><span ng-if="data.expires_fonts"># {{ data.expires_svg && data.expires_svg === data.expires_fonts ? 'svg, ' : '' }}fonts
location ~* \.(?:{{ data.expires_svg && data.expires_svg === data.expires_fonts ? extensions.svg + '|' : '' }}{{ extensions.fonts }})$ {
	add_header Access-Control-Allow-Origin "*";
	expires {{ data.expires_fonts }};<!--
	✔ accessLog --><span ng-if="isAccessLog()">
	access_log off;</span>
}</span></span><!--

✔ gzip --><span ng-if="isGzip()">

# gzip
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_types {{ gzipTypes }};</span><!--

✔ brotli --><span ng-if="isBrotli()">

# brotli
brotli on;
brotli_comp_level 6;
brotli_types {{ gzipTypes }};</span>
